Skip to main content

Get Available Providers

Used to retrieve a list of all available AI model providers from the seed collection. This endpoint returns the supported providers that can be used when creating AI models.

API Endpoint

PropertyValue
Request MethodGET
Request URLhttps://api.seliseblocks.com/models/seed/providers

Request

Request Example

curl -X GET 'https://api.seliseblocks.com/models/seed/providers' \
-H 'accept: application/json'

Request Headers

FieldTypeRequiredDescription
acceptstringYesAccepted response format. Use application/json
tip

When to use this endpoint:

  • Before creating a new AI model to see available providers
  • When building provider selection UI in your application
  • To discover newly added provider support
  • For validation of provider names in your code
  • When documenting supported integrations

Common providers include:

  • openai: OpenAI's GPT models (GPT-4, GPT-3.5, etc.)
  • anthropic: Anthropic's Claude models
  • azure: Azure OpenAI Service
  • google: Google's AI models (PaLM, Gemini, etc.)
  • cohere: Cohere's language models
  • huggingface: Hugging Face models
  • And other custom or third-party providers

Response

Success Response (200 OK)

Returns an array of available provider names.

[
"openai",
"anthropic",
"azure",
"google",
"cohere",
"huggingface"
]

Response Fields

FieldTypeDescription
-arrayArray of strings representing available provider names.
note

Provider Names

The provider names returned by this endpoint should be used exactly as-is when creating AI models via the POST /models/ endpoint. Provider names are case-sensitive and must match the exact format returned by this endpoint.

Each provider may have different:

  • Required configuration parameters
  • Supported model versions
  • Authentication requirements
  • Service platform options
  • Custom headers and parameters

Refer to the "Create AI Model" documentation for provider-specific configuration requirements.

Error Codes

Status CodeDescriptionResponse Type
200OK - Successfully retrieved providers listSuccess
500Internal Server Error - Failed to fetch providersInternal Server Error
warning

Important Considerations

  • The list of providers may be updated as new integrations are added
  • Not all providers may be available in all regions or subscription tiers
  • Provider availability does not guarantee all models from that provider are supported
  • Always verify provider-specific requirements before creating models
  • Cache this response appropriately to avoid unnecessary API calls